
<link rel="stylesheet" href="http://mobilaro.localhost/admin/assets/css/ace.min.css" />
<link rel="stylesheet" href="http://mobilaro.localhost/admin/assets/css/ace-skins.min.css" />
<link rel="stylesheet" href="http://mobilaro.localhost/admin/assets/css/font-awesome.min.css" />
<?php 
	error_reporting(E_ERROR);		
	
	require_once('libs/classes/userClass.php');
	require_once('admin/libs/functions.php');

	$page = $_GET['section'];		
	$userObj = new userClass();


	$user = $userObj->get_user_by_session($_SESSION['client']['login_key']);
	$user = $user[0];

	$companies = $userObj->fetch_result("SELECT user_shops.* FROM user_shops JOIN  user ON user.id = user_shops.user_id WHERE user.session_user='{$_SESSION['client']['login_key']}' ");

	$dictionary = get_dictionary($user['language_id']); ?>
	<div classs='col-md-12'>
		<div class='row' style='position:relative;min-height:400px'>
			<div class="col-md-3">
			<?php
				include_once('html-includes/profile/global_includes/sidebar.php'); 
			?>
			</div>
		 	<div class="col-md-9 ">
				<?php
				 include_once("html-includes/profile/global_includes/pages/".$page.".php");  


					
				?>
			</div>
		</div>	
	</div>	
	<input type = 'hidden' id='server_path' value='<?php echo scripts_url(); ?>'>
<script src="<?php echo scripts_url(); ?>admin/assets/js/jquery-ui-1.10.3.custom.min.js"></script>	
<script src="<?php echo scripts_url(); ?>admin/assets/js/bootbox.min.js"></script>
<script src="<?php echo scripts_url(); ?>admin/assets/js/jquery.dataTables.min.js"></script>
<script src="<?php echo scripts_url(); ?>admin/assets/js/jquery.dataTables.bootstrap.js"></script>
<script src="<?php echo scripts_url(); ?>admin/assets/js/date-time/bootstrap-datepicker.min.js"></script>
<script src="<?php echo scripts_url(); ?>admin/assets/js/jquery.maskedinput.min.js"></script>
<script src="<?php echo scripts_url(); ?>admin/assets/js/chosen.jquery.min.js"></script>
<script src="<?php echo scripts_url(); ?>admin/assets/js/x-editable/bootstrap-editable.min.js"></script>
<script src="<?php echo scripts_url(); ?>js/vendor/typehead.js"></script>
<script src="<?php echo scripts_url(); ?>admin/assets/js/jquery.hotkeys.min.js"></script>
<script src="<?php echo scripts_url(); ?>admin/assets/js/bootstrap-wysiwyg.min.js"></script>
<script src="<?php echo scripts_url(); ?>admin/assets/js/jquery.validate.min.js"></script>
<script src="<?php echo scripts_url(); ?>admin/assets/js/additional-methods.min.js"></script>
<script src="<?php echo scripts_url(); ?>admin/assets/js/ace-elements.min.js"></script>
<script src="<?php echo scripts_url(); ?>admin/assets/js/ace.min.js"></script>
<script src="<?php echo scripts_url(); ?>admin/js/<?php echo $page; ?>.js"></script>